<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes">
	<xsl:output method="xhtml" indent="yes" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"/>
	<xsl:include href="DelphiDoc.Shared.xslt"/>
	<xsl:template match="/namespace/class">
			<div class="classTitle">
				Class: <xsl:value-of select="@name"/>
			</div>
			<div class="class">
				<xsl:apply-templates select="attributes"/>
				<xsl:apply-templates select="ancestor"/>
			</div>
	</xsl:template>
	<xsl:template match="attributes">
		<div class="attributes">
			<div class="attributesTitle">Attributes: </div>
			<xsl:apply-templates select="attribute"/>
		</div>
	</xsl:template>
	<xsl:template match="attribute">
		<div class="attribute">
			<xsl:value-of select="@name"/>
		</div>
	</xsl:template>
	<xsl:template match="ancestor">
		<div class="ancestor">
			<div class="ancestorTitle">Ancestor: </div>
			<xsl:value-of select="@name"/>
		</div>
		<a href="{@name} Members.html">Members</a>
	</xsl:template>
</xsl:stylesheet>
